<template>
  <div class="tool-complex tool-link"></div>
</template>

<script>
import mixins from "../mixin";
export default {
  name: "tool-link",
  mixins: [mixins],
  data() {
    return {
      attr: null
    };
  },
  pageData: {
    version: "0.0.1",
    name: "tool-link",
    title: "链接",
    count: 0,
    width: 400, // 默认宽高
    height: 40,
    config: {
      label: "链接",
      // 数据源
      dataSource: {
        type: "api",
        source: "",
      },
      active: [],
      attr: [ {
          key: "url", // 属性
          title: "链接地址", // 属性名
          formType: "text-string", // 属性组件
          group: "basics", // 属性分类 store=>design=>group
          type: "String", // 属性值类型
          data: "https://www.bilibili.com/", // 属性值
        },],
    },
  },
};
</script>

<style scoped>
.tool-complex {
  width: 100%;
  height: 100%;
  transition: all 0.58s;
}
.tool-link {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}
</style>
